package com.imooc.myo2o.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.imooc.myo2o.dao.AreaDao;
import com.imooc.myo2o.entity.Area;
import com.imooc.myo2o.service.AreaService;

@Service
public class AreaImpl implements AreaService{

	@Autowired
	private AreaDao areaDao;
	public List<Area> queryArea() {
		List<Area> queryArea = areaDao.queryArea();
		return queryArea;
	}

}
